import request from '@/utils/request'

// 查询配置信息列表
export function listWeiriyaSetting(query) {
  return request({
    url: '/weiriya/weiriyaSetting/list',
    method: 'get',
    params: query
  })
}

// 查询配置信息详细
export function getWeiriyaSetting(id) {
  return request({
    url: '/weiriya/weiriyaSetting/' + id,
    method: 'get'
  })
}

// 新增配置信息
export function addWeiriyaSetting(data) {
  return request({
    url: '/weiriya/weiriyaSetting',
    method: 'post',
    data: data
  })
}

// 修改配置信息
export function updateWeiriyaSetting(data) {
  return request({
    url: '/weiriya/weiriyaSetting',
    method: 'put',
    data: data
  })
}

// 删除配置信息
export function delWeiriyaSetting(id) {
  return request({
    url: '/weiriya/weiriyaSetting/' + id,
    method: 'delete'
  })
}
